Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MRG] replace utils.TempDirectory with run tmp #1502

Merged
merged 8 commits into from
May 13, 2021
Merged

Conversation

hehouts
Copy link
Contributor

@hehouts hehouts commented May 5, 2021

Updated to runtmp in test_cmd_signature.py(1 test) and test_index.py (3 tests)

Chips away at #1386

@hehouts hehouts changed the title replaced utils.TempDirectory with run tmp, not working yet replace utils.TempDirectory with run tmp, not working yet May 5, 2021
@hehouts hehouts changed the title replace utils.TempDirectory with run tmp, not working yet [WIP] replace utils.TempDirectory with run tmp May 5, 2021
@ctb
Copy link
Contributor

ctb commented May 5, 2021

your PR is looking good, @hehouts ! I think you're probably interested in runtmp.last_result.status, .out, and .err.

@codecov
Copy link

codecov bot commented May 5, 2021

Codecov Report

Merging #1502 (6e8ca99) into latest (3b8793c) will increase coverage by 5.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           latest    #1502      +/-   ##
==========================================
+ Coverage   90.25%   95.27%   +5.02%     
==========================================
  Files         126       99      -27     
  Lines       21109    17405    -3704     
  Branches     1589     1589              
==========================================
- Hits        19051    16583    -2468     
+ Misses       1829      593    -1236     
  Partials      229      229              
Flag Coverage Δ
python 95.27% <100.00%> (-0.01%) ⬇️
rust ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
tests/test_cmd_signature.py 100.00% <100.00%> (ø)
tests/test_index.py 99.84% <100.00%> (-0.01%) ⬇️
src/core/src/cmd.rs
src/core/src/errors.rs
src/core/src/wasm.rs
src/core/src/index/storage.rs
src/core/src/ffi/hyperloglog.rs
src/core/tests/test.rs
src/core/src/sketch/minhash.rs
src/core/src/sketch/hyperloglog/estimators.rs
... and 19 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3b8793c...6e8ca99. Read the comment docs.

@ctb
Copy link
Contributor

ctb commented May 8, 2021

looking good!

@hehouts hehouts changed the title [WIP] replace utils.TempDirectory with run tmp [MRG] replace utils.TempDirectory with run tmp May 13, 2021
@hehouts
Copy link
Contributor Author

hehouts commented May 13, 2021

@ctb @bluegenes please review :)

The test print statements havent changed, so Im pretty sure theyre still working

Copy link
Contributor

@bluegenes bluegenes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great to me!

Copy link
Contributor

@ctb ctb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice work!

@ctb
Copy link
Contributor

ctb commented May 13, 2021

@hehouts when it passes all the tests (I updated from latest again), please go ahead and merge ;)

@hehouts hehouts merged commit 4c48f39 into latest May 13, 2021
@hehouts hehouts deleted the update-utils-tempdir branch May 13, 2021 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants